.product-resources {
    height: 260px;
}

.product-expenses {
    height: 550px;
}

.product-help {
    height: 380px;
}

.product-user {
    height: 320px;
}

.product-services {
    height: 180px;
}

.product-news {
    height: 350px;
}

.product-resources {
    main {
        padding: 0;
        font-size: 0;
        .main__item {
            margin-top: 40px;
            padding-left: 20px;
            width: 25%;
            display: inline-block;
            vertical-align: middle;
            box-sizing: border-box;
            img {
                width: 48px;
                height: 48px;
                display: inline-block;
                vertical-align: middle;
            }
            .item__info {
                margin-left: 12px;
                width: calc(100% - 48px - 12px);
                display: inline-block;
                vertical-align: middle;
                .info__name {
                    color: rgba(34, 34, 34, 1);
                    line-height: 14px;
                    font-size: 14px;
                    font-weight: bold;
                }
                .info__sub-name {
                    margin-top: 10px;
                    color: rgba(164, 168, 184, 1);
                    line-height: 12px;
                    font-size: 12px;
                }
            }
        }
    }
}

.product-expenses {
    main {
        margin-top: 31px;
        section:nth-of-type(1) {
            margin: 0 -12.5px;
            height: 100px;
            display: flex;
            .section__item {
                padding: 0 12.5px;
                height: 100%;
                flex-grow: 1;
                .item__info {
                    position: relative;
                    padding: 0 20px;
                    height: 100%;
                    background: #f9fafb;
                    border-radius: 6px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    .info__text {
                        color: #666;
                        line-height: 14px;
                        font-size: 14px;
                    }
                    .info__price {
                        margin-top: 9px;
                        span:nth-of-type(1) {
                            color: #000;
                            line-height: 28px;
                            font-size: 28px;
                            font-weight: bold;
                            vertical-align: baseline;
                        }
                        span:nth-of-type(2) {
                            margin-left: 5px;
                            color: #a4a8b8;
                            line-height: 12px;
                            font-size: 12px;
                            vertical-align: baseline;
                        }
                    }
                    >button {
                        position: absolute;
                        right: 20px;
                        bottom: 20px;
                        width: 60px;
                        height: 30px;
                        color: #567fff;
                        font-size: 0;
                        background: #fff;
                        border-radius: 4px;
                        border: 1px solid #567fff;
                    }
                    >button.active {
                        color: #fff;
                        background: #ff7101;
                        border: 1px solid #ff7101;
                    }
                }
            }
        }
        section:nth-of-type(2) {
            .section__title {
                margin-top: 30px;
                color: rgba(102, 102, 102, 1);
                line-height: 14px;
            }
            .section__table {
                margin-top: 12px;
                font-size: 12px;
                table {
                    width: 100%;
                    border-spacing: 0px;
                    thead {
                        td {
                            padding: 0 15px;
                            height: 48px;
                            color: rgba(34, 34, 34, 1);
                            font-weight: bold;
                            background: #f9fafb;
                            border-top: 1px solid rgba(221, 221, 221, 0.5);
                            border-bottom: 1px solid rgba(221, 221, 221, 0.5);
                        }
                        td:first-of-type {
                            border-left: 1px solid rgba(221, 221, 221, 0.5);
                            border-radius: 3px 0 0 3px;
                        }
                        td:last-of-type {
                            border-right: 1px solid rgba(221, 221, 221, 0.5);
                            border-radius: 0 3px 3px 0;
                        }
                    }
                    tbody {
                        tr {
                            td {
                                padding: 0 15px;
                                height: 48px;
                                color: rgba(102, 102, 102, 1);
                                border-bottom: 1px solid rgba(235, 238, 245, 1);
                                >button {
                                    width: 60px;
                                    height: 24px;
                                    font-size: 0px;
                                    color: #ff7101;
                                    background-color: #fff;
                                    border-radius: 4px;
                                    border: 1px solid #ff7101;
                                    span {
                                        line-height: 12px;
                                        font-size: 12px;
                                    }
                                }
                            }
                        }
                    }
                }
                .status--success {
                    color: rgba(85, 185, 128, 1);
                }
            }
            .section__pagination {
                margin-top: 20px;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                color: #888;
                .pagination__select {
                    margin-left: 8px;
                    padding-left: 10px;
                    padding-right: 5px;
                    width: 60px;
                    height: 28px;
                    border-radius: 3px;
                    border: 1px solid #dcdfe6;
                    display: inline-flex;
                    justify-content: space-between;
                    align-items: center;
                    box-sizing: border-box;
                    cursor: pointer;
                    img {
                        width: 8px;
                        height: 6px;
                    }
                }
                .pagination__size {
                    margin-left: 6px;
                }
                button {
                    margin-left: 10px;
                    width: 30px;
                    height: 30px;
                    background: #f9fafb;
                    border-radius: 2px;
                    display: inline-flex;
                    justify-content: center;
                    align-items: center;
                    border: 0;
                    span {
                        color: #606266;
                    }
                    img {
                        width: 7px;
                        height: 12px;
                    }
                }
                button.active {
                    background: #567fff;
                    span {
                        color: #fff;
                    }
                }
                .pagination__goto {
                    margin-left: 8px;
                }
                input {
                    margin-left: 6px;
                    width: 30px;
                    height: 28px;
                    color: #606266;
                    text-align: center;
                    border-radius: 3px;
                    border: 1px solid #dcdfe6;
                    outline: none;
                }
                .pagination__page {
                    margin-left: 6px;
                }
            }
        }
    }
}

.product-help {
    main:nth-of-type(1) {
        margin-top: 27px;
        font-size: 0;
        section {
            width: 50%;
            display: inline-block;
            vertical-align: middle;
            box-sizing: border-box;
            .section__title {
                span {
                    max-width: calc(100% - 40px - 10px);
                    color: rgba(102, 102, 102, 1);
                    cursor: pointer;
                }
                img {
                    margin-left: 4px;
                    height: 20px;
                    display: inline-block;
                    vertical-align: middle;
                }
            }
            .section__title+.section__title {
                margin-top: 17px;
            }
        }
        section:nth-of-type(1) {
            padding-right: 20px;
        }
        section:nth-of-type(2) {
            padding-left: 20px;
        }
    }
    header:nth-of-type(2) {
        margin-top: 33px;
        padding-top: 0;
    }
    main:nth-of-type(2) {
        margin: 0 -10px;
        margin-top: 25px;
        font-size: 0;
        section {
            padding: 0 10px;
            width: 33.333333%;
            display: inline-block;
            vertical-align: middle;
            box-sizing: border-box;
            .section__space {
                padding-left: 14px;
                padding-right: 10px;
                height: 46px;
                background: #f3f6fa;
                border-radius: 6px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                cursor: pointer;
                .section__title {
                    font-size: 0;
                    width: calc(100% - 5px);
                    >img {
                        width: 16px;
                        height: 16px;
                        display: inline-block;
                        vertical-align: middle;
                    }
                    span {
                        margin-left: 9px;
                        width: calc(100% - 16px - 9px - 10px);
                        color: rgba(68, 68, 68, 1);
                    }
                }
                >img {
                    width: 5px;
                    height: 8px;
                }
            }
        }
    }
}

.product-user {
    header {
        img {
            width: 14px;
            height: 14px;
            cursor: pointer;
        }
    }
    main {
        margin-top: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        >img {
            width: 70px;
            height: 70px;
        }
        .main__content {
            margin-top: 30px;
            text-align: center;
            .content__code {
                color: rgba(34, 34, 34, 1);
                line-height: 18px;
                font-size: 18px;
                font-weight: bold;
            }
            .content__text {
                margin-top: 10px;
                font-size: 0;
                span:nth-of-type(1) {
                    color: rgba(153, 153, 153, 1);
                    font-size: 14px;
                }
                span:nth-of-type(2) {
                    margin-left: 4px;
                    color: rgba(85, 185, 128, 1);
                    font-size: 14px;
                }
            }
        }
        .main__footer {
            margin-top: 46px;
            padding: 0 44px;
            width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            section {
                .section__name {
                    color: rgba(102, 102, 102, 1);
                }
                .section__value {
                    margin-top: 9px;
                    font-size: 0;
                    span:nth-of-type(1) {
                        color: rgba(0, 0, 0, 1);
                        line-height: 28px;
                        font-size: 28px;
                        font-weight: bold;
                        vertical-align: baseline;
                    }
                    span:nth-of-type(2) {
                        margin-left: 5px;
                        color: rgba(164, 168, 184, 1);
                        line-height: 12px;
                        font-size: 12px;
                        vertical-align: baseline;
                    }
                }
            }
        }
    }
}

.product-services {
    padding: 36px 30px 0;
    box-sizing: border-box;
    text-align: center;
    .services__content {
        font-size: 0;
        text-align: left;
        img {
            width: 20px;
            height: 20px;
            display: inline-block;
            vertical-align: top;
        }
        span {
            margin: -2px 0;
            margin-left: 10px;
            width: calc(100% - 20px - 10px);
            line-height: 1.5;
            color: rgba(34, 34, 34, 1);
            font-size: 14px;
            font-weight: bold;
            vertical-align: top;
        }
    }
    button {
        margin-top: 27px;
        width: 300px;
        height: 38px;
        color: rgba(255, 255, 255, 1);
        background: linear-gradient(198deg, #77b9ff 0%, #567fff 100%);
        border-radius: 4px;
        border: 0;
        outline: none;
        img {
            width: 24px;
            height: 20px;
            display: inline-block;
            vertical-align: middle;
        }
        span {
            margin-left: 7px;
        }
    }
}

.product-news {
    main {
        margin-top: 23px;
        section {
            font-size: 0;
            >img {
                width: 70px;
                height: 64px;
                display: inline-block;
                vertical-align: top;
            }
            .section__info {
                margin-left: 17px;
                width: calc(100% - 70px - 17px);
                font-size: 14px;
                display: inline-block;
                vertical-align: top;
                .info__title {
                    margin: -4px 0;
                    line-height: 1.5;
                    color: rgba(51, 51, 51, 1);
                    font-weight: bold;
                }
                .info__footer {
                    margin-top: 10px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    .footer__tag {
                        width: 60px;
                        height: 16px;
                        color: #567fff;
                        font-size: 0;
                        background: rgba(86, 127, 255, 0.1);
                        border: 1px solid #567fff;
                        border-radius: 3px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        >span {
                            line-height: 12px;
                            font-size: 12px;
                        }
                    }
                    >span {
                        color: rgba(153, 153, 153, 1);
                        line-height: 12px;
                        font-size: 12px;
                    }
                }
            }
        }
        section+section {
            margin-top: 17px;
        }
    }
    footer {
        margin-top: 18px;
        padding: 0 20px;
        text-align: right;
        button {
            width: 30px;
            height: 27px;
            background: #f9fafb;
            border: 0;
            border-radius: 2px;
            justify-content: center;
            align-items: center;
            outline: none;
            img {
                width: 7px;
                height: 12px;
            }
        }
    }
}